package cn.itcast.dao;

import cn.itcast.domain.Req;

import java.util.List;

public interface ReqDao {
    List<Req> findAll();

    List<Req> findReqsByYid(int parseInt);

    Req findReqByIdAndYid(int parseInt, int parseInt1);

    void updateReqInfo(int parseInt, int parseInt1, String info);


    void updateReqStateId(int id, int state_id);

    void updateReqChangeState(int id, int change_state);


    void updateReqCheckState(int id, int check_state);

    void addReq(Req req);
}
